#include "stubs_asm.h"

//NHSTUB(VbattGet, 0xFFC1C6D0)
//NHSTUB(GetZoomLensCurrentPosition, 0xFFE8793C)
//NHSTUB(GetZoomLensCurrentPoint, 0xFFE87928)
//NHSTUB(GetFocusLensSubjectDistance, 0xFFE9B4FC)

NHSTUB(malloc, 0xFFEF3278)
NHSTUB(free, 0xFFEF3284)

//NHSTUB(AllocateMemory, 0xFFC01AB0)
//NHSTUB(FreeMemory, 0xFFC01ABC)
//NHSTUB(isalpha, 0xFFEE7634)
//NHSTUB(isdigit, 0xFFEE7664)
//NHSTUB(islower, 0xFFEE7694)
//NHSTUB(isspace, 0xFFEE76DC)
//NHSTUB(isupper, 0xFFEE76F4)
//NHSTUB(CreatePhysicalVram, 0xFFD2E820)
//NHSTUB(DisplayPhysicalScreen, 0xFFD2EA78)
//NHSTUB(SetPropertyCase, 0xFFC14C94)
//NHSTUB(GetPropertyCase, 0xFFC14DE4)
//NHSTUB(GetSystemTime, 0xFFC04D38)
//NHSTUB(PhySw_testgpio, 0xFFC18964)
//NHSTUB(RefreshPhysicalScreen, 0xFFD7F49C)
//NHSTUB(kbd_pwr_off, 0xFFC188F0)
//NHSTUB(kbd_pwr_on, 0xFFC188C8)

NHSTUB(SetZoomActuatorSpeedPercent, 0xFFD2CF98)  //null stub
NHSTUB(GetDrive_ClusterSize, 0xffc60cd4)
NHSTUB(GetDrive_TotalClusters, 0xffc60d10)
NHSTUB(GetDrive_FreeClusters, 0xffc60d4c)
NHSTUB(WriteSDCard, 0xFFC707AC)
NHSTUB(TurnOffMic, 0xffc1eee8)
NHSTUB(TurnOnMic, 0xffc1eeac)
NHSTUB(ExpCtrlTool_StopContiAE,  0xFFCF6B00) 
NHSTUB(ExpCtrlTool_StartContiAE, 0xFFCF6AD0) 
NHSTUB(MakeAFScan,  0xFFD54358) 
NHSTUB(GetBatteryTemperature, 0xFFC1D7A4)
NHSTUB(GetCCDTemperature, 0xFFC1D790)
NHSTUB(GetOpticalTemperature, 0xFFC1D77C)
NHSTUB(PT_PlaySound, 0xFFD5EEE0)

NHSTUB(EnterToCompensationEVF, 0xffd4fd90) // Stub not found. When found, remove dummy function from lib.c.
NHSTUB(ExitFromCompensationEVF, 0xffd5337c) // Stub not found. When found, remove dummy function from lib.c.
NHSTUB(SetAE_ShutterSpeed, 0xFFEAC3E0) 
NHSTUB(DoAFLock, 0xffd4fc44)
NHSTUB(UnlockAF, 0xffd4fc90)
